e0838d46a6a29e9a963b919cf4e9341ef334c59e,tests/stress/org/jgroups/tests/ScaleTest.java,ScaleTest,invokeRpcs,#,85
Before Change
MethodCall call=new MethodCall(method);
call.setRequestMode(GroupRequest.GET_ALL);
call.setTimeout(5000);
call.setFlags(Message.DONT_BUNDLE);
int num_msgs=Util.readIntFromStdin("Number of RPCs: ");
int print=num_msgs / 10;
System.out.println("Invoking " + num_msgs + " RPCs:");
After Change
Method method=MethodCall.findMethod(ScaleTest.class, "getAddress", null);
MethodCall call=new MethodCall(method);
RequestOptions opts=new RequestOptions().setMode(GroupRequest.GET_ALL)
.setTimeout(5000).setFlags(Message.DONT_BUNDLE);
int num_msgs=Util.readIntFromStdin("Number of RPCs: ");
int print=num_msgs / 10;
System.out.println("Invoking " + num_msgs + " RPCs:");